Skip to content

Feat: Timelocked-Upgrades and Mandatory 48-Hour Delay Window on WASM Replacement - #686

Merged
Sadeequ merged 2 commits into
StellarFlow-Network:mainfrom
Ofuree:issue_633
Jul 31, 2026
Merged

Feat: Timelocked-Upgrades and Mandatory 48-Hour Delay Window on WASM Replacement#686
Sadeequ merged 2 commits into
StellarFlow-Network:mainfrom
Ofuree:issue_633

Conversation

@Ofuree

@Ofuree Ofuree commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

closes #633

  • Added a mandatory 48-hour delay for WASM upgrades.
  • Stored the proposal timestamp and calculated execution deadline.
  • Prevented execute_upgrade() from running before the deadline.
  • Added timelock policy helpers and boundary/overflow tests.

Testing

  • Added tests verifying execution fails one second before the deadline and succeeds at the deadline.
  • Full test suite is currently blocked by pre-existing repository syntax errors and Rust toolchain issues.

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Ofuree Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ofuree

Ofuree commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Fixed the conflict

@Sadeequ

Sadeequ commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

I see your handwork... will merge now. 🙏

@Sadeequ
Sadeequ merged commit d097326 into StellarFlow-Network:main Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⏱️ Timelocked-Upgrades | Mandatory 48-Hour Delay Window on WASM Replacement

2 participants